﻿using System.IO;
using Letspirate.Common.Infrastructure;

namespace Letspirate.Common
{
    public class StreamController : IStreamController
    {
        #region Implementation of IStreamController

        public Stream CreateStream(string path)
        {
            return new FileStream(path, FileMode.Create);
        }

        public Stream OpenStream(string path)
        {
            return new FileStream(path, FileMode.Open);
        }

        #endregion
    }
}
